package cn.hou.java.designpattern._19status;

public class LStatus extends Status {

	@Override
	public void eat(Person person) {
		if(person.getTime()==12){
			System.out.println("吃 午餐");			
		}else{
			person.setStatus(new EStatus());
			person.eat();
		}
	}

}
